export interface CreateOrUpdateTeamsRequestData {
  id?: string | undefined
  name: string
  department: string
  post: string
  photo_url: string
  introduction: string
  name_en?: string
  department_en?: string
  post_en?: string
  introduction_en?: string
}

export interface GetTeamsRequestData {
  /** 当前页码 */
  page: number
  /** 查询条数 */
  size: number
  /** 查询参数：名字 */
  name?: string
  /** 查询参数：部门 */
  department?: string
  /** 查询参数：岗位 */
  post?: string
}

export interface GetTeamsDetailRequestData {
  /** 详情id */
  id: string
}

export interface GetTeamsData {
  id: string
  name: string
  department: string
  post: string
  photo_url: string
  introduction: string
  name_en?: string
  department_en?: string
  post_en?: string
  introduction_en?: string
}
export type GetNewResponeseDetailData = ApiResponseData<GetTeamsData>

export type GetTeamsResponseData = ApiResponseData<{
  list: GetTeamsData[]
  total: number
  page: number
}>
